package com.lrkj.facefeature.domain;

import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 人脸识别特征对象 face_feature
 *
 * @author wyd
 * @date 2022-07-14
 */
@Data
public class FaceFeature extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** id主键 */
    private String id;

    /** 特征值数组 */
    private byte[] face_feature_data;

    /** 图片存放路径 */
    private String face_img_path;

    /** 引擎类型 */
    private String engine_type;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("face_feature_data", getFace_feature_data())
                .append("face_img_path", getFace_img_path())
                .append("engine_type", getEngine_type())
                .toString();
    }
}
